package com.atguigu01.oop;

/**
 * ClassName: PhoneTest
 * Package: com.atguigu01.oop
 * Description:
 *
 * @Author xiao_qi
 * @Create 2024/3/16 13:13
 * @Version 1.0
 */
public class PhoneTest {
    public static void main(String[] args) {
        //复习：数据类型 变量名 = 变量值
        Phone p1 = new Phone();
        p1.name ="huawei";
        p1.prices = 100;

        System.out.println("name:" + p1.name + "prices:" + p1.name);

        p1.call();
        p1.senmessage("有内鬼停止交易");
        p1.playGame();
    }
}
